package com.example.service;

import com.example.models.UserDTO;

/**
 * @Description
 * @Date 2021/7/9
 * @Created by Jonathan
 */
public interface UserDelegate {

    UserDTO getUserById(String id);

    void insert1();

    void insert2();

    void updateDataWithDeadLock();

    void updateDataWithoutDeadLock();

    void updateData();

    void cacheAsideProblem();

    void deadLockDemo();
}
